home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
lang
/
tcl
/
tclmotif.1
/
tclmotif
/
tm.1.2
/
programs
/
prog15
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-11-15
|
305 b
|
16 lines
# a Motif bug: getValues -command always returns an empty string
# why? I dunno
xtAppInitialize -class Program
xmCommand .command managed
.command commandEnteredCallback print_command
proc print_command {} {
.command getValues -command c
puts stdout "Command: $c"
}
. realizeWidget
. mainLoop